package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.vo.FamilyMemberElderVo;
import com.zzyl.nursing.vo.PageQueryRelatedElderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/08/27 19:42
 * @Description:
 */
@Mapper
public interface FamilyMemberElderMapper extends BaseMapper<FamilyMemberElder> {

    List<FamilyMemberElderVo> getAllRelatedElders(Long familyMemberId);

    List<PageQueryRelatedElderVo> listByPage(Long memberId);
}
